import currency from 'currency.js'
import roundN from '@stdlib/math-base-special-roundn'


export const num3 = (number: number) => {
  return currency(number, { precision: 3 })
}

export const round2 = (num: number) => {
  return roundN(num, 2)
}